package com.example.calendar.ui.screens.tasks

import java.time.LocalDate

/**
 * Mock data class for tasks used in UI development
 */
data class MockTask(
    val id: String,
    val title: String,
    val description: String = "",
    val dueDate: LocalDate,
    val isCompleted: Boolean = false,
    val priority: Int = 3, // 1=High, 2=Medium, 3=Low
    val categoryId: String? = null
)

/**
 * Helper function to generate mock tasks for UI development
 */
fun generateMockTasks(): List<MockTask> {
    return listOf(
        MockTask(
            id = "1",
            title = "Complete Calendar App",
            description = "Finish implementing all remaining screens and fix any bugs before release",
            dueDate = LocalDate.now().plusDays(3),
            isCompleted = false,
            priority = 1
        ),
        MockTask(
            id = "2",
            title = "Buy groceries",
            description = "Milk, eggs, bread, vegetables, and fruits",
            dueDate = LocalDate.now(),
            isCompleted = false,
            priority = 2
        ),
        MockTask(
            id = "3",
            title = "Call mom",
            description = "",
            dueDate = LocalDate.now().plusDays(1),
            isCompleted = false,
            priority = 3
        ),
        MockTask(
            id = "4",
            title = "Prepare presentation",
            description = "Create slides for the team meeting on Friday",
            dueDate = LocalDate.now().plusDays(2),
            isCompleted = false,
            priority = 1
        ),
        MockTask(
            id = "5",
            title = "Schedule dentist appointment",
            description = "",
            dueDate = LocalDate.now().plusDays(7),
            isCompleted = true,
            priority = 2
        )
    )
} 